package com.zhang.service.impl;

import com.zhang.mapper.IChannelMapper;
import com.zhang.pojo.ChannelBean;
import com.zhang.service.IChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional

public class ChannelServiceImpl implements IChannelService {
    @Autowired
    private IChannelMapper channelMapper;

    @Override
    public List<ChannelBean> findAll() {
        return channelMapper.findAll();
    }
}
